package com.example.springbootdemo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/request")
@RestController
public class HelloWord {
    @RequestMapping(value = "/hello",method = RequestMethod.POST)
    public String hello() {
        System.out.println("helloworld!!!");
        return "Hello, world!!!";
    }
}
